//
//  ILGTestVC+Category.m
//  ILGDemo
//
//  Created by happy on 2020/3/2.
//  Copyright © 2020 Happy. All rights reserved.
//

#import "ILGTestVC+Category.h"

@implementation ILGTestVC (Category)
@dynamic lastName;

- (NSString *)lastName {
    return objc_getAssociatedObject([self class], _cmd);
}

- (void)setLastName:(NSString *)lastName {
    objc_setAssociatedObject([self class], @selector(lastName), lastName, OBJC_ASSOCIATION_COPY_NONATOMIC);
}

@end
